package com.zwps.biz.dal.db.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.zwps.biz.api.model.vo.pubpointall.DangerInfoDetailVO;
import com.zwps.biz.api.model.vo.pubpointall.ZAchievementsOtherVO;
import com.zwps.biz.api.model.vo.structure.SafetyAppraisalRecordVO;
import com.zwps.biz.dal.db.object.ZAchievementsDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.zwps.biz.dal.db.object.ZAchievements
 */
@DS("lhk")
public interface ZAchievementsDAO extends BaseMapper<ZAchievementsDO> {

    List<String> getAchievementYear();

    List<ZAchievementsDO> getAchievementsListGroupMonth(@Param("type") Integer type, @Param("timeYear") Integer timeYear);

    List<DangerInfoDetailVO> getOterCount(Integer timeYear);

    List<ZAchievementsOtherVO> getAchievementsOtherList(@Param("type") Integer type,@Param("timeYear") Integer timeYear);

    List<SafetyAppraisalRecordVO> getSafetyAppraisalRecordList(Integer year);
}




